package uk.ac.lkl.lpp.model.ldo.event;



import uk.ac.lkl.common.util.ds.AbstractNotifyingList;

import uk.ac.lkl.lpp.model.PedagogyPlanModel;


public class ListPedagogyPlanEvent extends PedagogyPlanEvent {

    // should probably pack up name and listClass into SingletonClass

    private String name;


    private Class listClass;


    private AbstractNotifyingList list;


    public <O> ListPedagogyPlanEvent(PedagogyPlanModel plan,
            String name, Class<O> listClass, AbstractNotifyingList<O> list) {
        super(plan);
        this.listClass = listClass;
        this.name = name;
        this.list = list;
    }


    public Class getListClass() {
        return listClass;
    }


    public String getName() {
        return name;
    }


    public AbstractNotifyingList getList() {
        return list;
    }

}
